package com.rivercloud.entity;

import java.sql.Timestamp;

public class TemplateCol {

	private Integer id;

	private Integer colNum;

	// 默认值
	private String defVal;

	// 列的类型
	private Integer colType;

	// 列名
	private String colName;

	// 模板id
	private Integer templateId;

	private String tcDesc;
	
	private Timestamp createTime = new Timestamp(System.currentTimeMillis());

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getColNum() {
		return colNum;
	}

	public void setColNum(Integer colNum) {
		this.colNum = colNum;
	}

	public String getDefVal() {
		return defVal;
	}

	public void setDefVal(String defVal) {
		this.defVal = defVal;
	}

	public Integer getColType() {
		return colType;
	}

	public void setColType(Integer colType) {
		this.colType = colType;
	}

	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public String getTcDesc() {
		return tcDesc;
	}

	public void setTcDesc(String tcDesc) {
		this.tcDesc = tcDesc;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "TemplateCol [id=" + id + ", colNum=" + colNum + ", defVal=" + defVal + ", colType=" + colType
				+ ", colName=" + colName + ", templateId=" + templateId + ", tcDesc=" + tcDesc + ", createTime="
				+ createTime + "]";
	}

	public TemplateCol(Integer id, Integer colNum, String defVal, Integer colType, String colName, Integer templateId,
			String tcDesc, Timestamp createTime) {
		super();
		this.id = id;
		this.colNum = colNum;
		this.defVal = defVal;
		this.colType = colType;
		this.colName = colName;
		this.templateId = templateId;
		this.tcDesc = tcDesc;
		this.createTime = createTime;
	}

	public TemplateCol() {
		super();
		// TODO Auto-generated constructor stub
	}

	
	
}
